package cn.turing.firecontrol.device.alarm.mapper;

import cn.turing.firecontrol.device.alarm.entity.Sensor;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.mybatis.spring.annotation.MapperScan;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author shiyb
 * @since 2021-12-16
 */
@Mapper
public interface SensorMapper extends BaseMapper<Sensor> {

    Sensor selectDeviceStaTusBySensorNo(String COM6);

    int setDeviceStatusBySensorNo(@Param("COM6") String COM6, @Param("i") int i);
}
